#include<iostream>
#include<algorithm>
#include<cstring>
#include<cstdio>
#include<windows.h>
#include<io.h>
#include<shellapi.h>
#include<set>
#include<map>
#include<ctime>
#include<fstream>
#include<vector>
#include<cstdlib>
#define INF 1999122700
#define LiangJiaJun main
using namespace std;
const int MAXN = 200000;
const int greps = 4;
///**************************************************************************

struct _PERSON_{
    string _name,_sex;
    int _age;
};
_PERSON_ MAKE_PERSON(string _name,int _age,string _sex){
    _PERSON_ Temp;
    Temp._name=_name;
    Temp._age=_age;
    Temp._sex=_sex;
    return Temp;
}
SYSTEMTIME _match_time={0};
#define _DATE _match_time.wYear <<"/"<<_match_time.wMonth<<"/"<<_match_time.wDay<<"-"<<_match_time.wHour<<":"<<_match_time.wMinute<<":"<<_match_time.wSecond<<"-"
string pre_text = "we have " ,
       _INSERT_text = "inserted" ,
       _DELETE_text = "deleted" ,
       _MODIFY_text = "modified"  ,
       last_text = "'s profile." ,
       _QUERY_text = "queried";
int key_number = 666666;
vector<string>_visual_name_in_set;
vector<int>AGE_serc;
vector<_PERSON_>used;
int INSERT_(){
    used.clear();
    ///*************************************************************
    freopen("INSERT_FILE.txt","r",stdin);
    string _NAME_,_SEX_;
    int _AGE_;

    while(cin>>_NAME_){

        cin>>_AGE_;
        cin>>_SEX_;
        used.push_back(MAKE_PERSON(_NAME_,_AGE_,_SEX_));

    }

    fclose(stdout);
    ///*************************************************************
    return 0;
}
int LiangJiaJun(){
    std::ios::sync_with_stdio(false);
    string OPERATOR;
    cin>>OPERATOR;
    bool has_opera=0;
    if(OPERATOR=="INSERT"){
        INSERT_();
        has_opera=1;
    }
    //if(OPERATOR=="DELETE")DELETE_();
    //if(OPERATOR=="GET_info")GET_info_();

    ///*******************************************************************
    if(has_opera){
        GetLocalTime(&_match_time);
        ofstream record_file;
        record_file.open("pre_record.log",ios::app);
        record_file<<"DATE:";
        record_file<<_DATE;
        record_file<<pre_text<<OPERATOR<<" FILE"<<endl;
        record_file.close();
    }
    ///*******************************************************************

    return 0;
}
